<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
        <title>Webappkit {{ kits.webappkit.kit.version }}</title>

        <base href="{{ base_href }}" />

        <link rel="stylesheet" type="text/css" href="static/css/webappkit.web.css" media="screen" />

        <link rel="icon" href="static/img/webappkit-favicon.png" />

    </head>
    <body class="{% block bodyclass %}en{% endblock %}">
        <div id="header">
            <h1><span>WebAppKit </span></h1>
            <p class="baseline">Your web apps as Kits.</p>
        </div>
        <div id="content">
            <div class="main">{% block main %}
                <p>ici le contenu principal</p>
            {% endblock %}</div>
        </div>
        <ul id="breadcrumb">{% for url in breadcrumb %}
            <li><a href="{{ url }}">{{ forloop.key }}</a></li>{% endfor %}
        </ul>

        {% block local %}{% endblock %}

        {% block global %}<ul id="global">
            <li><a href="{{ request.getbasehref }}">Home</a></li>
            <li><a href="kits">Kits</a></li>
            <li><a href="howto">Tutorials</a></li>
            <li><a href="config">Configuration</a></li>
        </ul>{% endblock %}

        <ul id="footer">
            <li><a href="http://webappkit.net">webappkit.net</a></li>
            <li><a href="..">Managed site</a></li>
        {% if user %}
            <li class="user">{{ user }}
            <a href="{{ request.getpath }}?logout=true">log out</a>
            </li>
        {% endif %}
            <li class="timecounter">generated in {% wakcounter %} seconds</li>

            <li class="size">{% wakloaded %} loaded</li>
        </ul>
    </body>
</html>
